package com.eec.spring.ioc.annotation;

import com.eec.spring.ioc.springEnum.ScopeType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author LeeC
 * @description
 * @date 2025/7/20
 * @PACKAGE_NAME com.eec.spring.ioc.annotation
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Scope {
    // Bean作用域
    ScopeType value() default ScopeType.SINGLETON;
}
